﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UCL.Forms.Components
{
    public partial class ucButtons : UserControl
    {
        /// <summary>
        /// 是否显示预览按钮
        /// </summary>
        public bool PreviewVisible { get { return lblSummary.Visible; } set { lblSummary.Visible = value; btnPreview.Visible = value; } }

        /// <summary>
        /// 获取或设置统计数据文本
        /// </summary>
        public string SummaryText { set { lblSummary.Text = value; } }

        public Button BtnPreview { get { return btnPreview; } }
        public Button BtnRun { get { return btnRun; } }
        public Button BtnExit { get { return btnExit; } }
        public Button BtnReset { get { return btnReset; } }
        public ucButtons()
        {
            InitializeComponent();
        }
    }
}
